.class public final Lnbisdk/pa;
.super Ljava/lang/Object;


# instance fields
.field private mZ:I

.field private type:I

.field private uQ:Ljava/util/Hashtable;


# direct methods
.method public constructor <init>(Lnbisdk/fk;)V
    .locals 5

    const/4 v0, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput v0, p0, Lnbisdk/pa;->mZ:I

    iput v0, p0, Lnbisdk/pa;->type:I

    const-string v0, "age"

    invoke-virtual {p1, v0}, Lnbisdk/fk;->U(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "age"

    invoke-static {p1, v0}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v0

    long-to-int v0, v0

    iput v0, p0, Lnbisdk/pa;->mZ:I

    const-string v0, "type"

    invoke-static {p1, v0}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v0

    long-to-int v0, v0

    iput v0, p0, Lnbisdk/pa;->type:I

    :cond_0
    new-instance v0, Ljava/util/Hashtable;

    invoke-direct {v0}, Ljava/util/Hashtable;-><init>()V

    iput-object v0, p0, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    const-string v0, "traffic-flow-item"

    invoke-virtual {p1, v0}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v1

    if-eqz v1, :cond_1

    :goto_0
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v2, Lnbisdk/lb;

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/fk;

    iget v3, p0, Lnbisdk/pa;->mZ:I

    iget v4, p0, Lnbisdk/pa;->type:I

    invoke-direct {v2, v0, v3, v4}, Lnbisdk/lb;-><init>(Lnbisdk/fk;II)V

    iget-object v0, p0, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    invoke-virtual {v2}, Lnbisdk/lb;->getLocation()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3, v2}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_1
    return-void
.end method


# virtual methods
.method public final aA(Ljava/lang/String;)Lnbisdk/lb;
    .locals 1

    iget-object v0, p0, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    invoke-virtual {v0, p1}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lb;

    return-object p0
.end method

.method public final b(Lnbisdk/pa;)I
    .locals 4

    const/4 v3, 0x1

    const/4 v2, -0x1

    iget v0, p0, Lnbisdk/pa;->type:I

    iget v1, p1, Lnbisdk/pa;->type:I

    if-ge v0, v1, :cond_0

    move v0, v2

    :goto_0
    return v0

    :cond_0
    iget v0, p0, Lnbisdk/pa;->type:I

    iget v1, p1, Lnbisdk/pa;->type:I

    if-le v0, v1, :cond_1

    move v0, v3

    goto :goto_0

    :cond_1
    iget v0, p0, Lnbisdk/pa;->mZ:I

    iget v1, p1, Lnbisdk/pa;->mZ:I

    if-ge v0, v1, :cond_2

    move v0, v2

    goto :goto_0

    :cond_2
    iget v0, p0, Lnbisdk/pa;->mZ:I

    iget v1, p1, Lnbisdk/pa;->mZ:I

    if-ge v0, v1, :cond_3

    move v0, v3

    goto :goto_0

    :cond_3
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final c(Lnbisdk/pa;)V
    .locals 4

    iget-object v0, p1, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    invoke-virtual {v0}, Ljava/util/Hashtable;->keys()Ljava/util/Enumeration;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v1

    iget-object v2, p0, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    invoke-virtual {v2, v1}, Ljava/util/Hashtable;->containsKey(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    iget-object v2, p0, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    iget-object v3, p1, Lnbisdk/pa;->uQ:Ljava/util/Hashtable;

    invoke-virtual {v3, v1}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v2, v1, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_1
    return-void
.end method
